package com.yisoo.ubag.iot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yisoo.common.utils.PageUtils;
import com.yisoo.common.utils.R;
import com.yisoo.ubag.iot.entity.DevRelOrderEntity;

import java.util.Map;

/**
 * 
 *
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-05-03 16:48:31
 */
public interface DevRelOrderService extends IService<DevRelOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Integer checkBagUsing(Long devId, Integer bagId);

    R getBagStatus(String bagId);

    R updateBagStatus(Long bagId, Integer data);

//    R lock(String devcode, Long bagId);

}

